<?php
/**
 * Created by PhpStorm.
 * User: lcz
 * Date: 2018/3/19
 * Time: 9:20
 * 话费流水模型
 */
namespace app\common\model;

use app\common\library\Common;

class Base extends Common {

    const STATUS_N = 0;

    protected static $instance;
    /**
     * 初始化
     * @access public
     * @param string $name 参数
     * @return Base
     */
    public static function instance($name)
    {
        if (is_null(self::$instance))
        {
            self::$instance = new static();
        }
        self::$instance->name=$name;
        return self::$instance;
    }
}